<script type="text/javascript" src="__PUBLIC__/js/jquery/lin_area.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/jquery/region.js"></script>
                        	<div class="jqueryTitle mt5">
                            	<span>实现原理</span>
                            </div>
                            <div class="p15">
                            	监听select的change事件，动态读取对应的相关数据填充到下一个select中
                            </div>
                            
                        	<div class="jqueryTitle mt5">
                            	<span>相关参数</span>
                            </div>
                            <div class="p15">
                            	<table cellpadding="0" cellspacing="0" class="jqueryAttr">
                                	<thead>
                                    	<tr>
                                        	<th>参数名</th>
                                            <th>参数说明</th>
                                        </tr>
                                    </thead>
                                    <tbody>
		<tr>
        	<td>url</td>
            <td>数据读取AJAX地址:功能尚未开发</td>
        </tr>
        <tr>
        	<td>cache</td>
            <td>城市数据,默认region.js文件</td>
        </tr>
        <tr>
        	<td>provinceId</td>
            <td>省份字段ID,默认#province</td>
        </tr>
        <tr>
        	<td>cityId</td>
            <td>城市字段ID,默认#city</td>
        </tr>
                <tr>
        	<td>countyId</td>
            <td>区县字段ID,默认#county/td>
        </tr>
                <tr>
        	<td>currentProvince</td>
            <td>当前省份</td>
        </tr>
        <tr>
        	<td>currentCity</td>
            <td>当前城市</td>
        </tr>
         <tr>
        	<td>currentCounty</td>
            <td>当前区县</td>
        </tr>
        </tbody>
                                </table>
                            </div> 
                            <div class="jqueryTitle mt5">
                            	<span>演示效果</span>
                            </div>
                            <div class="p15">
                            	<p class="pt15">前期准备：头部加入jquery-1.7.2.min.js;lin_area.js文件;region.js文件</p>
                            	<div class="pt15"><strong>效果</strong></div>
                                
                                <p>js</p>
                                <pre>$("#area").lin_area({cache:region,currentProvince:2,currentCity:52,currentCounty:502});	 </pre>
                                
								<div id="area">
    				省份<select id="province"  style="width:120px;"></select>
　　 				城市<select id="city"  style="width:120px;"></select>
　　				　	区/县<select id="county" style="width:120px;"></select>
   				</div>
                            	                             
                                
                            </div>  

                            <div class="clearfix pt40 pb40">
                            	<a href="http://url.cn/Snu6Tc" title="《{$data.title}》源代码下载" class="jqueryDown" rel="nofollow" target="_blank">《{$data.title}》源代码下载</a>
                            </div>   
                        
 
 <script type="text/javascript">
 $(function(){
	 	$("#area").lin_area({cache:region,currentProvince:2,currentCity:52,currentCounty:502});	
	});
 </script>   
